package cn.ekuma.epos.symmetricds;

import java.util.Properties;

public class AppConfig {
  public static String TABLE_PREFIX="sync.table.prefix";
  private static Properties m_propsconfig;
  
  static{
	  m_propsconfig=new Properties();
	  m_propsconfig.put(TABLE_PREFIX, "sym");
  }
  
  public static String getAppProperty(String sKey){
      return m_propsconfig.getProperty(sKey);
  }
  
  public static void setAppProperty(String sKey,String sValue){
      if (sValue == null) {
          m_propsconfig.remove(sKey);
      } else {
          m_propsconfig.setProperty(sKey, sValue);
      }
  }
}
